1
general::
The necessary expertise or qualities, as in She's got what it takes to make a good doctor, or Inherited wealth is what it takes to maintain that lifestyle. This idiom uses what in the sense of "that which" and take in the sense of "require." [1920s]
American Heritage Idioms